#ifndef DEMO_GAMEOPENGL
#define DEMO_GAMEOPENGL

#include "EngineWin32.h"

//#define EDITING

#ifdef EDITING

#include <gl/GL.h>
#define GL_GLEXT_PROTOTYPES
#include <gl/glext.h>

#else

#include <gl/glew.h>
#include <gl/wglew.h>

#endif

#include "util.h"

void GC();

struct Geometry
{
};

struct PointLight
{
};

class EngineOpenGL : public EngineWin32
{
private:
	GLuint _VBO[3];

	GLuint _vs;
	GLuint _fs;
	GLuint _prog;

protected:

	HDC hdc;
	HGLRC hglrc;

	//override redraw
	void Redraw();

public:
	EngineOpenGL(LPCSTR title);
	virtual ~EngineOpenGL();
};

#endif//DEMO_GAMEOPENGL
